public enum TokenType {
    IF("If"),
    ELSE("Else"),
    WHILE("While"),
    BREAK("Break"),
    CONTINUE("Continue"),
    RETURN("Return"),
    ASSIGN("Assign"),
    SEMICOLON("Semicolon"),
    LEFT_PAREN("LPar"),
    RIGHT_PAREN("RPar"),
    LEFT_BRACE("LBrace"),
    RIGHT_BRACE("RBrace"),
    PLUS("Plus"),
    MINUS("Minus"),
    MUL("Mult"),
    DIV("Div"),
    LT("Lt"),
    GT("Gt"),
    EQ("Eq"),
    ERR("Err"),
    IDENTIFIER("Ident"),
    INTEGER("Number");

    private final String name;

    TokenType(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
}
